package ${servicePackage};

import com.wangyin.payment.tesla.common.service.BaseService;
import ${entityPackage}.${className}Entity;

/**
 * 描述：</b>${codeName}<br>
 * @author：系统生成
 * @version:1.0
 */
public interface ${className}Service extends BaseService {
	
	<#if columnKeyParam !="">
	/**
     * 描述: 根据主键查询${codeName}
     	<#list columnKeyDatas as item>
	 * @param ${item.domainPropertyName} ${item.columnComment} 
		</#list>
     * @return
     */
	public ${className}Entity get(${columnKeyParam});
	</#if>
	
	<#if getBestMatchedFlag=='Y'>
	/**
	 * 描述: 最优化查询${codeName}
		<#list columnKeyDatas as item>
	 * @param ${item.domainPropertyName} ${item.columnComment} 
		</#list>
	 * @return
	 */
	public ${className}Entity getBestMatched(${columnKeyParam});
	</#if>
	
	/*user customize code start*/
${userCustomCode}
	/*user customize code end*/
}
